/*
 * @Description:
 * @version:
 * @Author: 周子尧
 * @Date: 2021-09-09 17:00:26
 * @LastEditors: 潘骏杰
 * @LastEditTime: 2021-11-12 09:29:51
 */
import Vue from 'vue';
import App from './editor/index';
import Mandala from 'main/index.js';
import 'packages/theme-chalk/src/index.scss';

export default () => {
  Vue.use(Mandala, {size: 'mini', zIndex: 100000 });
  const root = document.createElement('div');
  document.body.appendChild(root);

  new Vue({ // eslint-disable-line
    render: h => h(App)
  }).$mount(root);
};
